package com.jetpackframework.utils;

import java.io.File;

public class FileUtil {
    public static final boolean isLegalFile(File file) {
        return file != null && file.exists() && file.canRead() && file.isFile() && file.length() > 0;
    }
}
